﻿<div ng-show="hidflg">
    <h5>Authentication is already inital</h5>
</div>
<div ng-hide="hidflg">
    <label style="color:Red">Grant Gmail Access</label>
</div>
<div class="form-group col-sm-10" style="border:1px solid;border-color:#000; width:1140px;height:112px;" ng-hide="hidflg">
    <h5>Click <a ng-href="{{authPath}}">here</a> to grant your Avery gmail account's(<b>{{email}}</b>) access permisson to intelligent OTC</h5>
    <br />
    <div class="row">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="control-label">Authentication Code:</label>
        <input ng-model="authCode" />
    </div>
    <div class="row" style="height:4px">
    </div>
    <button ng-click="grant()" style="width:50px;" ng-vaild="canGrant">Grant</button>
    &nbsp;&nbsp;
    <button><a style="text-decoration:none;color:inherit;" ng-href="{{changePassWordURL}}">Change PassWord</a></button><br /><br />
</div>
<div class="row" style="height:20px">
</div>
<div>
    <label style="color:Red">Signature</label>
</div>
<div class="form-group col-sm-10" style=" border:1px solid;border-color:#000; width:1140px;height:auto; ">
    <br/>
    <textarea ui-tinymce="{trusted: true}" id="mainbody" class="form-control" style="height:220px;" required
                ng-model="collector.signature"></textarea>
    <div class="row" style="height:4px">
    </div>
    <button ng-click="saveAutograph()" style="width:50px;">Save</button>
    <div class="row" style="height:12px">
    </div>
</div>
